import instance from '../utils/request'

/*获取岗位列表*/
export function getRoleList(current,size,roleVO) {
  return instance({
    url: '/role/getRoleList',
    method: 'POST',
    params:{
      current,
      size
    },
    data: roleVO
  })
}

export function getAllRoles() {
  return instance({
    url: '/role/findAll',
    method: 'GET'
  })
}

